<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

	public function __construct(){
		parent::__construct();
		if(!$this->session->userdata('user_name'))
			redirect('/');
	}
	
	public function index(){
		$data['title']		=	'Home';
		$data['content']	=	'home/dashboard';
		$this->load->view('themes/index',$data);
	}
	
	
}
